- NAME
-
clone - clone an object from a program
- SYNTAX
-
object clone(program p,mixed ... args);
- DESCRIPTION
-
clone() creates an object from the program p. Or in C++ terms:
It creates an instance of the class p. This clone will first have
all global variables initalized, and then create() will be called
with args as arguments.
- KEYWORDS
-
object and program
- SEE ALSO
-
destruct, compile_string and compile_file